<?php

    include 'sendquery_db.php';


header("Content-type: plain/text");



$input_id=$_GET["id"];
$check="false";

$db = dbservice::getInstance();
    $query = "select id from user where id='$input_id'";
    $result = $db->sendquery($query);
 			
 	if($result){
		foreach($result as $output){
				
			$check="true";
		} 
			print $check;
		
	}

// print "</userid>";

?>